home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / which213.zip / src-org / README < prev    next >
Text File  |  1993-07-28  |  2KB  |  33 lines

  1.    MS-DOS and OS/2 `which' v2.1
  2.  
  3.    This is a clone of the Unix (csh) "which" command, used to locate
  4.    executable commands in the user's PATH.  It has a few enhancements
  5.    not in the Unix version:  it can print the locations of all copies 
  6.    of the command(s), not just the one which will be executed; and it 
  7.    can find DLLs in the LIBPATH and data files in the DPATH (these are
  8.    probably OS/2-specific concepts anyway).
  9.  
  10.    The big improvement over the last major release (2.02) is the ability
  11.    to detect 4DOS and 4OS2 aliases, in addition to more accurate detec-
  12.    tion of 4* internal commands.  Thanks to Michael D. Lawler for the 
  13.    spawnl() code on which this is based, for patches relating to Borland
  14.    warning messages, and for some excellent beta testing.
  15.  
  16.    In addition, a 32-bit OS/2 executable (which32.exe) is now included in
  17.    OS/2 distributions; it makes use of a 32-bit system call to determine
  18.    the boot drive and therefore the location of the config.sys file (for
  19.    determining the LIBPATH).  There is no 16-bit equivalent, so users of
  20.    OS/2 1.x will have to make do with the original hit-or-miss method (i.e.,
  21.    check the current drive, then drive c:).  Thanks to Kenneth Porter for
  22.    sending the relevant code fragment.
  23.  
  24.    The which.exe executable which is included here is a bound executable
  25.    compiled with MSC 6.0, able to run under any version of OS/2 or under
  26.    MS-DOS.  It has been tested under OS/2 2.0 GA+SP (in windowed, full-
  27.    screen and DOS sessions, and both CMD.EXE and 4OS2.EXE) and under
  28.    4DOS.COM; previous versions were tested under OS/2 1.3 (CMD.EXE and
  29.    DOS sessions) and MS-DOS 3.31 COMMAND.COM.
  30.  
  31.    Greg Roelofs, newt@uchicago.edu
  32.    28 July 1993
  33.